package com.euq.node;

import com.euq.entity.Dept;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class DeptNode extends Dept {
    private List<DeptNode> children = null;
    public List<DeptNode> getChildren() {
        return children;
    }
    public void setChildren(List<DeptNode> children) {
        this.children = children;
    }
    public String getLabel() {
        return getSimpleName();
    }
}
